<template>
  <el-page-header @back="goBack" v-bind:content="content" />
</template>

<script>
export default {
  props: ["content"],
  methods: {
    goBack() {
      window.history.length > 1 ? this.$router.go(-1) : this.$router.push("/");
    },
  },
};
</script>

<style>
</style>